import request from '@/utils/request'

export function page(data) {
  return request({
      url: '/api/blog/category/page',
      method: 'post',
      data
  })
}

export function loadfirst() {
  return request({
    url: '/api/blog/category/loadfirst',
    method: 'get'
})
}
export function addorupdate(data) {
  return request({
    url: '/api/blog/category/addorupdate',
    method: 'post',
    data
})
}
